package com.zsf.mapper;

import com.zsf.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper{
    public List<User> selectUser();

    //添加一个用户
    public int addUser(User user);
    //删除一个用户
    public int deleteUser(int id);

//    @Select("select * from user")
//    List<User> findAll();
}
